--
-- Author: shunguo.chen
-- Date: 2016-10-19 18:35:59
--

local GameDB = import(".GameDB")

function GameDB:queryRewardList()
	--TODO 待新设计
	--local sql = string.format("SELECT * FROM bounes_type")
	--local bounes = self:query(sql)
	--return bounes
	return {}
end

function GameDB:queryRewardFames()
	--TODO 待新设计
	--local sql = string.format("SELECT * FROM famecard")
	--local fames = self:query(sql)
	--return fames
	return {}
end

function GameDB:queryRewardInvest()
	--TODO 待新设计
	--local sql = string.format("SELECT * FROM growup_bonus")
	--local invests = self:query(sql)
	--return invests
	return {}
end

-- fatestone={key="ID"},
-- 	fatestone_progress={key="ID"},

function GameDB:queryFateStones()
	local stones = self:getCachedTable("fatestone") or {}
    return stones
end

function GameDB:queryFateStoneProgresses()
	local stoneprogresses = self:getCachedTable("fatestone_progress") or {}
    return stoneprogresses
end

function GameDB:queryFateStoneShares()
	local stoneshares = self:getCachedTable("fatestone_share") or {}
    return stoneshares
end

function GameDB:queryCarnivals()
	local stones = self:getCachedTable("carnival") or {}
    return stones
end

function GameDB:queryCarnivalProgresses()
	local stones = self:getCachedTable("carnival_progress") or {}
    return stones
end

return GameDB
